namespace EntityFramework6._1Examples.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class storedproceduresCustomNames : DbMigration
    {
        public override void Up()
        {
            RenameStoredProcedure(name: "dbo.Book_Insert", newName: "usp_InsertBook");
            RenameStoredProcedure(name: "dbo.Book_Update", newName: "usp_UpdateBook");
            RenameStoredProcedure(name: "dbo.Book_Delete", newName: "usp-DeleteBook");
        }
        
        public override void Down()
        {
            RenameStoredProcedure(name: "dbo.usp-DeleteBook", newName: "Book_Delete");
            RenameStoredProcedure(name: "dbo.usp_UpdateBook", newName: "Book_Update");
            RenameStoredProcedure(name: "dbo.usp_InsertBook", newName: "Book_Insert");
        }
    }
}
